package entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("friend")
@AllArgsConstructor
@NoArgsConstructor
public class Friend{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer myId;
    private Integer friendId;
    private String notation;
    private Long sessionId;
    private String lastMessage;
    private Integer unread;
    private Integer isHidden;
    public Date createTime;  //创建时间
    public Integer delFlag;    //逻辑删除标志
    public Date updateTime;  //更新时间
}
